<%@page import="java.util.ArrayList"%>
<%@page import="org.hibernate.Session;"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/WEB-INF/displaytag.tld" prefix="display" %>

<% request.getSession().getAttribute("Authors");%>
<html>

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="stylesheet.css"/>
        <title>List of Authors</title>

    </head>

    <body>

        <display:table id="data" name="Authors"  pagesize="6" defaultsort="3" requestURI="/Library/authors.do" defaultorder="descending">
            <display:caption><h1>Table of authors</h1></display:caption>
            <display:column property="id" title="ID" sortable="true" headerClass="sortable" />
            <display:column property="firstName" title="FIRST NAME" sortable="true" headerClass="sortable" />
            <display:column property="lastName" title="LAST NAME" sortable="true" headerClass="sortable" />
            <display:setProperty name="basic.empty.showtable" value="true" />
        </display:table>

    </body>
</html>